POV-Ray : Newsgroups : povray.beta-test : Arrays of functions disallowed? : Arrays of functions disallowed? Server Time
29 Jul 2024 20:15:25 EDT (-0400)
  Arrays of functions disallowed?  
From: Michael Andrews
Date: 18 Mar 2002 07:58:03
Message: <3C95E64A.287B45D7@reading.ac.uk>
I tried to produce an array of functions with beta 13 and was told I was
redefining a function.

A short test code that gives the same error is

#declare fn_LT = array[2]
#declare fn_LT[0] = function { 1 }
#declare fn_LT[1] = function { 1 }

The third line produces the error message 'Parse Error: Redeclaring
functions is not allowed - #undef the function first!'

I believe this worked with beta 12.

System: 1GHz Athlon, 256MB, NT4 sp6, 3.5.beta.13.icl.win32

Bye for now.
    Mike Andrews


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.